home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 25
/
Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso
/
Aminet
/
text
/
misc
/
nroff.lha
/
nroff
/
tests.shar.Z
/
tests.shar
/
report.out
< prev
next >
Wrap
Text File
|
1998-03-09
|
5KB
|
199 lines
The "Definitive" Test of My -ms Macro Package --
How to Get Gray Hair
by
Bill Rosenkranz
rosenkra@convex.com
Convex Computer Corporation
Syracuse Sales Office
SUMMARY
This is the abstract. I have nothing really to
say here except that the rest of this document
exercises the following macros: SH, PP, XP, QP,
RS, RE. Output is comparable to "real" nroff -ms,
more or less. Note that there is a seperate test
for NH-style headers which are not included here.
Section 1
This is text for section 1. It is very nice text,
though a bit boring! As you will see. I needed enough
stuff here to make the page break so we can see the header
line on Page 2. This is text for section 1. It is very
nice text, though a bit boring! This is text for section
1. It is very nice text, though a bit boring! This is text
for section 1. It is very nice text, though a bit boring!
This is text for section 1. It is very nice text, though a
bit boring! This is text for section 1. It is very nice
text, though a bit boring! This is text for section 1. It
is very nice text, though a bit boring! This is text for
section 1. It is very nice text, though a bit boring! This
is text for section 1. It is very nice text, though a bit
boring! This is text for section 1. It is very nice text,
though a bit boring! This is text for section 1. It is
very nice text, though a bit boring! This is text for
section 1. It is very nice text, though a bit boring!
This is yet more text for section 1. I warned you. It
is also very nice text, though a bit boring! This is yet
more text for section 1. It is very nice text, though a bit
boring! Don't you think? This is yet more text for section
1. It is very nice text, though a bit boring! This is yet
more text for section 1. It is very nice text, though a bit
boring! This is yet more text for section 1. This is yet
Left Center Footer Right
- 2 -
more text for section 1. This is yet more text for section
1. It is very nice text, though a bit boring! This is yet
more text for section 1. It is very nice text, though a bit
boring!
Ok, here is something a bit more interesting: a
relative indent!
This is a relative indent. It should be indented on
the left but the line should end on the right where it
does in normal text.
This is another relative indent.
How about another?
Ok, that is just about enough. Now we end the RS with
a RE. Note that RS/RE pairs can be nested, as the
following example shows:
this is one more level.
this is one more level.
this is one more level.
this is one less level.
this is one less level.
Now we should be back to normal. Just make sure there
is an RE for every RS (sorry, no checking is done). This is
still more text for section 1. Still very, very, boring.
This is still more text for section 1. This is still more
text for section 1. Still very, very, boring. This is
still more text for section 1. Still very, very, boring.
Section 2
Now we are at the next major section. This is text for
section 2. Still very, very, boring. This is text for
section 2. This is text for section 2. Still very, very,
boring. This is text for section 2. Still very, very,
boring. This is text for section 2. This is text for
section 2. This is text for section 2. Still very, very,
boring. This is text for section 2. Still very, very,
boring.
This is a quoted paragraph. Notice how the text
is indented at both margins? Use QP just like any
other paragraph macro, but make sure you use a PP
or LP after it to reset the indent and line
length!
Left Center Footer Right
- 3 -
Ok, back to normal again. This is more text for
section 2. When will this ever end! This is more text for
section 2. This is more text for section 2. This is more
text for section 2. When will this ever end! This is more
text for section 2. This is more text for section 2. When
will this ever end!
Here we try the extended paragraph which is like the
invers of PP. It does not indent the first line, but does
indent all subsequent lines. It is useful for bibliographic
entries, such as:
Del Piombo, Akbar, "Sex Life of the Turtle", Nimrod Press,
Chicago, Illinois, July, 1990. 5023 pages. The
pioneering work in the field.
Just make sure to do PP or LP when finished, though you
could do the entire document this way, just to be
different. Here I used PP to get back to "normal".
Left Center Footer Right